<!-- jquery与stagger连用的动画一般应用在*ngFor上 -->
<div class="container" [@listAnim]="projects.length">
    <task-project-item (deleteProject)="deleteProjectDialog(project)" (editProject)="editProjectDialog(project)" (onInvite)="onInviteDialog()" class="card" *ngFor="let project of projects" [item]="project"></task-project-item>
</div>

<button mat-fab class="fad-button" (click)="openNewProjectDialog()">
  <mat-icon>add</mat-icon>
</button>